
public class Robot {
	
	int angle;
	int x, y;
	
	public Robot(int x, int y, int angel) {
		angle = angel;
		this.x = x;
		this.y = y;
	}
	
	public int getX(){
		return x;
	}
	
	public int getY(){
		return y;
	}

	public void setPosition(int x, int y){
		this.x = x;
		this.y = y;
	}
	
	public void rotate(int deg){
		angle += deg;
		angle = angle % 360;
	}
	
	public int getFacingAngle() {
		return angle;
	}

}
